[#include "../include/html_header.html"/]
<script language="javascript" src="${root}/js/duice.js"></script>
<script type="text/javascript" src="${root}/js/img.js"></script>


</head>
<body>
[#include "../include/html_header_top.html"/]
<div class="am-container">
    <div class="am-u-sm-6">
    <form class="am-form" action="login.htm" method="post">
        <fieldset>
            <legend>登录</legend>
        </fieldset>

            <div>
                <div>
                    [#if returnUrl??]
                    <p style="font-color:red">[#if message??][@s.mt code=message
                        text=message/][#else]您需要登录才能继续刚才的操作[/#if]</p>
                    <input type="hidden" name="returnUrl" value="${returnUrl}"/>
                    [#else]
                    <input type="hidden" name="redirectUrl" value="/"/>
                    [/#if]
                    [#if errors??]
                    <ul>
                        [#list errors as error]
                        <li><font color="red">${error}</font></li>
                        [/#list]
                    </ul>
                    [/#if]
                    <table width="100%" border="0" cellspacing="2" cellpadding="0" class="am-table">
                        <tr>
                            <td height="55" width="70" align="right" style="font-size:14px;">登录帐号：</td>
                            <td height="55" width="200"><input type="text" name="username" id="username"
                                                               class="input_style"/></td>
                            <td height="55">&nbsp;</td>
                        </tr>
                        <tr>
                            <td height="55" width="70" align="right" style="font-size:14px;">密码：</td>
                            <td height="55" width="200"><input type="password" name="password" class="input_style"
                                                               vld="{required:true,rangelength:[3,32]}"/></td>
                            <td height="55"><a href="${base}/forgot_password.htm" target="_blank"
                                               class="forgota">忘记密码？</a></td>
                        </tr>
                        <tr>
                            <td height="55" width="70" align="right">&nbsp;</td>
                            <td height="55" width="200"><input type="submit" value="登 录" class="am-btn am-btn-warning"/></td>
                            <td height="55">&nbsp;</td>
                        </tr>
                    </table>
                </div>
            </div>
        </form>
    </div>
    <div class="am-u-sm-6" style="padding-top: 40px;">

        <div>
            <h5>还不是注册会员</h5>

            <p>现在免费注册成为会员，便能即立刻享受便宜又放心的购物乐趣</p>
            <a href="${base}/register.htm" target="_blank" class="zcxyh">注册新用户</a>
        </div>
       </div>
        <div class="clear"></div>
    </div>
</div>
[#include "../include/footer.html"/]
</body>
</html>
